
// export const incrementCounter = ({ dispatch }) => dispatch('INCREMENT', 1)

// export const updateToken = ({ dispatch }, token) => dispatch('UPDATE_USER_TOKEN', token)

export default {
  incrementCounter: ({ commit, state }) => {
    commit('INCREMENT', 1)
  },
  updateToken: ({ commit, state }, token) => {
    commit('UPDATE_USER_TOKEN', token)
  }
}
